<?php

namespace app\common;

class Error
{
    // 公共
    const SUCCESS_CODE = 200;
    const SUCCESS_MESSAGE = '操作成功';

    const FAIL_CODE = 500;
    const FAIL_MESSAGE = '操作失败';

    const FAIL_CODE_ONE = 501;

    const NO_CHARGE_REQUIRED_CODE = 400;

    const PLEASE_CONTACT_THE_DEVELOPER = '数据添加失败，请联系开发人员';

    const NOT_LOGGED_CODE = 101;
    const PLEASE_LOGIN_FIRST = '请先登录';

    const NOT_REQUEST_AUTH_CODE = 102;
    const NOT_REQUEST_AUTH_MESSAGE = '暂无请求权限，请联系管理员';

    const DELETE_MANAGER_ERROR_MESSAGE = '不能删除超级管理员';

    const DELETE_FAIL = '删除失败';

    const APPID_PARAMATER_ERROR = '小程序app_id参数错误';

    const REQUEST_PARAMETER_EXCEPTION = '请求参数异常';

    const NOT_OPERATE_AUTH_MESSAGE = '暂无操作权限';

    // api
    const FAIL_AUTHORIZED_lOGIN = '授权登录失败';

    const INTERNAL_SERVER_ERROR = '服务器内部错误';

    const CODE_NOT_EXIXTS = 'code参数不能为空';

    const VIDEO_ID_NOT_EXIXTS = 'video_id参数不能为空';

    const TYPE_ID_NOT_EXIXTS = 'type_id参数不能为空';

    const TYPE_NOT_EXIXTS = 'type参数不能为空';

    const VIDEO_DETAIL_ID_NOT_EXIXTS = 'video_detail_id参数不能为空';

    const SORT_NOT_EXIXTS = 'sort参数不能为空';

    const ADMIN_ID_NOT_EXIXTS = 'admin_id参数不能为空';

    const ERROR_NO_CHARGE_REQUIRED = '该视频不需要付费';

    const K_C_IS_INSUFFICIENT = 'K币不足，请充值';

    const FAILED_TO_DEDUCT_MONEY = '扣币失败';

    const SEARCH_TERM_DOES_NOT_EXIST = '搜索词不存在';

    const SIGNED_IN_TODAY = '今日已签到';

    const USER_NAME_NOT_EXIXTS = '用户昵称不能为空';

    const AVATAR_NOT_EXIXTS = '用户头像不能为空';

    const THE_SHORT_PLAY_OFF_SHELF_CODE = 104;

    const THE_SHORT_PLAY_OFF_SHELF = '该短剧已下架';

    const PAY_DATA_REQUEST_PARAMATER_NOT_EXIXTS = '支付数据请求参数异常';

    const DEVICE_ID_NOT_EXIXTS = '设备ID参数异常';

    const MOBILE_SYSTEM_NOT_EXIXTS = '手机系统参数异常';

    const MOBILE_IS_NOT_EMPTY = '手机号不能为空';

    const MOBILE_IS_ERROR = '手机号格式不正确';

    const SMS_CODE_IS_NOT_EMPTY = '短信验证码不能为空';

    const SMS_CODE_ERROR = '短信验证码错误或失效';

    // admin
    const LOGIN_ERROR_CODE = 103;

    const LOGIN_ERROR = '登录失败';

    const USERNAME_NOT_EXIXTS = 'username参数不能为空';

    const PASSWORD_NOT_EXIXTS = 'password参数不能为空';

    const USER_NOT_EXIXTS = '用户不存在';

    const PASSWORD_ERROR = '密码错误';

    const USERNAME_EXISTS = '用户名已被注册';

    const ID_NOT_EXIXTS = 'id参数不能为空';

    const PID_NOT_EXIXTS = 'pid参数不能为空';

    const NAME_NOT_EXIXTS = 'name参数不能为空';

    const MENU_EXISTS_CHILDREN_DATA = '该菜单下还有子级数据，请先删除子级数据';

    const MENU_IDS_NOT_EXIXTS = 'menu_ids参数不能为空';

    const APP_ID_NOT_EXIXTS = 'app_id参数不能为空';

    const APP_SECRET_NOT_EXIXTS = 'app_secret参数不能为空';

    const TOKEN_NOT_EXIXTS = 'token参数不能为空';

    const TOKEN_ERROR = 'token参数错误';

    const ORIGINAL_ID_NOT_EXIXTS = 'original_id参数不能为空';

    const ENCODING_AES_KEY_NOT_EXIXTS = 'encoding_aes_key参数不能为空';

    const CONTACTS_NOT_EXIXTS = 'contacts参数不能为空';

    const CONTACT_NUMBER_NOT_EXIXTS = 'contact_number参数不能为空';

    const COMPANY_ID_NOT_EXIXTS = 'company_id参数不能为空';

    const CONTENT_NOT_EXIXTS = 'content参数不能为空';

    const PACKAGE_NOT_EXIXTS = 'package参数不能为空';

    const STATUS_NOT_EXIXTS = 'status参数不能为空';

    const APPLET_ID_NOT_EXIXTS = 'applet_id参数不能为空';

    const VIDEO_TYPE_ID_NOT_EXIXTS = 'video_type_id参数不能为空';

    const COVER_IMG_NOT_EXIXTS = 'cover_img参数不能为空';

    const LABEL_NOT_EXIXTS = 'label参数不能为空';

    const IS_FREE_NOT_EXIXTS = 'is_free参数不能为空';

    const SYLLOGE_NOT_EXIXTS = 'sylloge参数不能为空';

    const IS_SHELVES_NOT_EXIXTS = 'is_shelves参数不能为空';

    const SYNOPSIS_NOT_EXIXTS = 'synopsis参数不能为空';

    const ABBREVIATION_NOT_EXIXTS = 'abbreviation参数不能为空';

    const START_TIME_NOT_EXIXTS = 'start_time参数不能为空';

    const END_TIME_NOT_EXIXTS = 'end_time参数不能为空';

    const SCALE_NOT_EXIXTS = 'scale参数不能为空';

    const URL_NOT_EXIXTS = 'url参数不能为空';

    const IS_MEMBERS_NOT_EXIXTS = 'is_members参数不能为空';

    const IS_PAY_NOT_EXIXTS = 'is_pay参数不能为空';

    const PAY_AMOUNT_NOT_EXIXTS = 'pay_amount参数不能为空';

    const DISPLAY_OBJECT_NOT_EXIXTS = 'display_object参数不能为空';

    const RECHARGE_PRICE_NOT_EXIXTS = 'recharge_price参数不能为空';

    const SEND_CURRENCY_NOT_EXIXTS = 'send_currency参数不能为空';

    const SUM_CURRENCY_NOT_EXIXTS = 'sum_currency参数不能为空';

    const SEND_TITLE_NOT_EXIXTS = 'send_title参数不能为空';

    const RULE_ID_NOT_EXIXTS = 'rule_id参数不能为空';

    const PROFILE_PHOTO_NOT_EXIXTS = 'profile_photo参数不能为空';

    const INTRODUCE_NOT_EXIXTS = 'introduce参数不能为空';

    const ADMIN_UID_NOT_EXIXTS = 'admin_uid参数不能为空';

    const TIME_INTERVAL_IS_TOO_LARGE = '开始日期和结束日期之间的时间间隔不得超过31天';

    const NO_START_DATE_SELECTED = '未选择开始日期（需同时选择且时间间隔不得超过31天）';

    const NO_END_DATE_SELECTED = '未选择结束日期（需同时选择且时间间隔不得超过31天）';

    const PATH_NOT_EXIXTS = 'path参数不能为空';

    const CANNOT_ADD_REPEATEDLY = '该短剧已存在banner中，不能重复添加';

    const NAME_OF_THE_RESPONSIBLE_PERSON_ALREADY_EXISTS = '该负责人名称已存在';

    const IS_DEFAULT_NOT_EXIXTS = 'is_default参数不能为空';

    const PLATFORM_TYPE_NOT_EXIXTS = 'platform_type参数不能为空';

    const SPEND_NOT_EXIXTS = 'spend参数不能为空';

    const COVER_NOT_EXIXTS = 'cover参数不能为空';

    const AUTHOR_NOT_EXIXTS = 'author参数不能为空';

    const IS_RELEASE_NOT_EXIXTS = 'is_release参数不能为空';

    const DATA_NOT_EXIXTS = 'data参数不能为空';

    const ID_STRING_NOT_EXIXTS = 'id_string参数不能为空';

    const QUERY_DATE_SPAN_NOT_EXCEED_30_DAY = '查询日期跨度不能超过 30 天';

    const PUBLIC_CANNOT_BE_MODIFIED_TO_NON_PUBLIC = '公共配置不能修改成非公共配置';

    const ORDER_DATA_NOT_EXISTS = '订单数据不存在';

    const ORDER_NOT_PAYMENT = '该订单未支付';

    const ORDER_NOT_WECHAT_PAYMENT = '该订单不是微信支付';

    const REFUND_PRICE_NOT_EXIXTS = '请输入退款金额';

    const REFUND_PRICE_NOT_ORDER_PAYMENT = '退款金额不得大于订单支付金额';

    // cps
    const OFFICIAL_ACCOUNT_ID_NOT_EXIXTS = 'official_account_id参数不能为空';

    const MEDIA_ID_NOT_EXIXTS = 'media_id参数不能为空';

    const IS_OPEN_NOT_EXIXTS = 'is_open参数不能为空';

    const ECHO_RATE_NOT_EXIXTS = '请填写回传率';

    const TEMPLATE_ID_NOT_EXIXTS = 'template_id参数不能为空';

    const SWITCH_NOT_EXIXTS = 'switch参数不能为空';

    const ECHO_INITIAL_CHARGE_TYPE_NOT_EXIXTS = 'echo_initial_charge_type参数不能为空';

    const IS_OPEN_ROI_NOT_EXIXTS = 'is_open_roi参数不能为空';

    const NO_CONTENT_AT_THE_SAME_TIME = '已充值用户和未充值用户里面不能同时没有内容';

    const LINK_ID_NOT_EXIXTS = 'link_id参数不能为空';

    const CUSTOM_CONFIGURATION_ALREADY_EXISTS = '该负责人已存在该短剧的自定义配置';

    const WATCH_REMINDER_NOT_EXIXTS = 'watch_reminder参数不能为空';

    const SIGN_REMINDER_NOT_EXIXTS = 'sign_reminder参数不能为空';

    const IS_AUTH_NOT_EXIXTS = 'is_auth参数不能为空';

    const WECHAT_NUMBER_NOT_EXIXTS = 'wechat_number参数不能为空';

    const KEYWORD_NOT_EXIXTS = 'keyword参数不能为空';

    const LINK_TYPE_NOT_EXIXTS = 'link_type参数不能为空';

    const TITLE_NOT_EXIXTS = 'title参数不能为空';

    const LINK_URL_NOT_EXIXTS = 'link_url参数不能为空';

    const VALUE_NOT_EXIXTS = '开关值参数不能为空';

    const IS_PUSH_NOT_EXIXTS = 'is_push参数不能为空';

    const PLEASE_UPLOAD_FILE = '请上传文件';

    const ACCESS_TOKEN_NOT_EXISTS = 'accessToken不存在';

    const UPLOAD_MATERIAL_FAIL = '上传素材失败';

    const OFFICIAL_ACCOUNT_ALREADY_CUSTOM_MENU = '公众号已存在自定义菜单';

    const MENU_PUSH_FAIL = '菜单发布失败';

    const APPLET_URL_NOT_EXIXTS = '跳转小程序的链接数据不存在';

    const ECHO_RATE_INTERVAL_VALUE_ERROR = '回传率未在0~100之间';

    const PLEASE_CHOICE_ECHO_DATA = '请选择回传数据';

    const ADVERTISER_ID_NOT_EXIXTS = '请选择广告账户';

    const ADVERTISER_ID_ALREADY_OCCUPIED = '该广告账户已被占用，请先关闭其他链接使用后再使用该广告账号';

    const RETURN_VALUE_NOT_EXISTS = '该用户回传必须值不存在';

    const THIS_USER_ACTIVATION_TIME_NOT_SATISFY_CONDITION = '该用户需是今天激活的用户，且激活时间需要在今天晚上23点前';

    const THE_PLATFORM_NOT_OPENED_THIS_FUNCTION = '该平台暂未开放该功能';

    const THIS_USER_24_HOUR_RETURNED = '该用户24小时内已回传过';

    const THIS_USER_CORRESPONDING_LINK_CURRENT_DOWN_LAUNCH = '此用户对应的链接当前已关闭投放';

    const ACCOUNT_ID_NOT_EXIXTS = '投放账户Id不能为空';

    const REBATE_NOT_EXISTS = '返点值不能为空';

    const PLEASE_SELECT_LAUNCH_PLATFORM = '请选择投放平台';

    const THE_ACCOUNT_IS_EXISTS = '该广告账户已存在';

    const PROJECT_ID_NOT_NULL = '请填写项目ID';

    const USE_ENGLISH_COMMAS_TO_SEPARATE = '项目ID需使用英文逗号分隔';

    const BAIDU_LINK_TOKEN_NOT_EXIXTS = '百度链接token不存在';

    const PLEASE_SELECT_TYPE = '请选择类型';

    const PASSWORD_PARARATER_NOT_EXISTS = '请输入密码';

    const CONFIRM_PASSWORD_PARARATER_NOT_EXISTS = '请再次输入密码';

    const TWO_DIFFERENT_PASSWORD_INPUTS = '两次密码输入不一样';

    const PLEASE_REFRESH_THE_PAGE_AND_LOG_IN_AGAIN = '请刷新页面后重新登录';

    const ORIGINAL_PASSWORD_PARARATER_NOT_EXISTS = '请输入原密码';

    const ORIGINAL_PASSWORD_ERROR = '原密码错误';

    const PITCHER_ID_PARAMATER_ERROR = '投手ID参数异常';

    const PLEASE_SELECT_UPDATE_LINK = '请选择链接';

    const PLEASE_SELECT_VIDEO_PAY_SETTING = '请选择自定义收费设置';

    const PLEASE_SELECT_RECHARGE_TEMPLATE = '请选择自定义充值模板';

    const PLEASE_SELECT_THE_LINK_FOR_THE_SPECIFIED_SHORT_PLAY = '请选择指定短剧的链接';

    const THE_SELECTED_CUSTOM_SHORT_DRAMA_FEE_NOT_THE_SELECTED_LINK = '该自定义短剧收费与所选链接不对应';

    const SETTING_FAIL = '设置失败';

    const PLEASE_SELECT_UPDATE_BACK_SETTING = '请选择回传配置';

    const AMOUNT_OR_RETURN_RATE_CANNOT_BE_EMPTY = '指定金额回传的金额或回传率不能为空';

    const THERE_IS_DATA_WITH_THE_SAME_AMOUNT = '指定金额回传存在金额一样的数据';

    const PLEASE_USE_HT_LIUYIYINGSHI_CN_DOMAIN_NAME_ACCESS = '请使用 ht.sybyn.top 域名访问';

    const THE_USER_ARLERDY_DATA_SOURCE_ID = '请更换账户ID，该账户ID已创建数据源ID';

    const PLEASE_SELECT_RECHARGE_TYPE = '请选择充值类型';

    const PLEASE_SELECT_END_DATE = '结束日期参数不能为空';

    const PLEASE_SELECT_START_DATE = '开始日期参数不能为空';

    const CROSS_DAY_QUERY_NOT_SUPPORTED = '只支持查询某一天的数据，不支持跨天查询';

    const END_DATE_IS_LESS_THAN_START_DATE = '结束日期小于开始日期';

    const PAYMENT_AMOUNT_NOT_LESS_THAN_DESIGNATED_AMOUNT = '充值模板支付金额不得低于指定金额';

    const PAYMENT_START_COLLECTION_EXCEED = '收费起始集数不得超过';

    const IS_DEPAET_ERROR = '该账号不可登录';

    const TEMPLATE_NAME_NOT_EXIXTS = '请输入模板名称';

    const RECHARGE_SORT_NOT_EXIXTS = '请填写开始收费剧集';

    const VIDEO_ID_SELECT_NOT_EXIXTS = '请选择短剧';

    const PLEASE_SELECT_CHARGE_TYPE = '请选择充值类型';

    const PLEASE_SELECT_BACK_TYPE = '请选择回传方式';

    const BACK_NAME_NOT_EXIXTS = '请填写回传模板名称';

    const BACK_RATE_TYPE_NOT_EXIXTS = '请选择回传比例类型';

    const DO_NOT_ADD_AGAIN = '请勿重复添加';

    const DY_KEY_NOT_EXIXTS = 'dy_key参数不能为空';

    const PLEASE_WRITE_CYCLE_RATIO = '请填写循环比比例';

    const OLD_BACK_CANNOT_MODIFY_NEW_BACK = '旧版回传设置不能修改成新版回传配置';

    const VIDEO_NOT_EDIT_BOUND_PROMOTION_LINK = '剧名不可修改，该收费设置已绑定推广链接';

    const VIDEO_NOT_DEILETE_BOUND_PROMOTION_LINK = '收费设置已绑定推广链接，不可删除';

    const ONLY_NEW_VERSION_LINKS_CAN_BE_MODIFIED = '只能批量修改新版本链接的收费设置';

    const PLEASE_SELECT_COMPANY = '请选择公司';

    const PLEASE_WRITE_SUBJECT_NAME = '请填写主体名称';

    const PLEASE_WRITE_SUBJECT_REBATE = '请填写主体返点';

    const IMAGE_URL_NOT_EXIXTS = 'image_url不能为空';

    const VIDEO_URL_NOT_EXIXTS = 'video_url不能为空';
    const EXPIRATION_TIME_NOT_EXIXTS = 'expiration_time不能为空';
    const CATEGORY_ID_NOT_EXIXTS = 'category_id不能为空';
    const ADV_ID_NOT_EXIXTS = 'adv_id不能为空';
    const CATALOG_NAME_NOT_EXIXTS = 'catalog_name不能为空';

    const THE_VIDEO_SETTING_PLATFORM_MOUNTED_CONFIG = '该剧已设置了对应的平台挂载配置';

    const PLEASE_WRITE_PAY_AMOUNT = '请填写收取K币';
}